fastCSharp.LoadViewType(diantou.examUser=function(Value)
	{
	fastCSharp.Copy(this,Value);
	this.Path={
		Report:'/enterprise/report.html?userId='+this.Id,
		ExamLog:'/enterprise/examLog.html#!userId='+this.Id,
		SendMessage:'/enterprise/sendMessage.html#!userId='+this.Id,
		ExamReport:'/exam/report.html#!userId='+this.Id,
		ExamResult:'/exam/result.html#!userId='+this.Id,
		Resume:'/enterprise/exam/Resume?userId='+this.Id
	};
	this.OnCopyView();
	});
diantou.examUser.prototype={
OnCopyView:function()
	{
	if(this.Icon)	this.Icon.Set('examUser',this);
	},
BirthdayString:function()	{	return this.Birthday.Value?Date.FromInt(this.Birthday.Value).ToDateString():'';	},
Age:function()	{	return this.Birthday.Value?new Date().getFullYear()-Date.FromInt(this.Birthday.Value).getFullYear():'*';	},
ExamMinutes:function()	{	return Math.floor((this.SubmitTime.getTime()-this.ExamTime.getTime()+(1000*60-1))/(1000*60));	},
Images:function()
	{
	if(!this.images)
		{
		this.images=[];
		for(var Path='/upload/examUser/'+(this.Id>>10)+'/'+(this.Id&1023)+'/',Index=0;Index-this.ImageCount;this.images.push(new diantou.image({Value:Path+(Index++)+'.jpg'})));
		}
	return this.images;
	},
RadioPoint:function()	{	return this.RadioRightCount*5;	},
ChoicePoint:function()	{	return this.RadioPoint()+this.MultipleChoicePoint;	},
ExamPoint:function()	{	return this.ChoicePoint+this.QuestionPoint+this.ProblemPoint;	},
GetExamJudgeLogPath:function(ProblemId)	{	return '/enterprise/examJudgeLog.html#!userId='+this.Id+'&problemId='+ProblemId;	},
ResumeExtensionName:function()	{	return this.Resume?this.Resume.substring(this.Resume.lastIndexOf('.')+1):'';	}
		};